#!/bin/bash

cur_path=$(pwd)
compile_sh_name="compile-run.sh"
compile_sh_list=$(find . -name $compile_sh_name -type f)
for compile_sh_path in $compile_sh_list
do
	sh_dir=${compile_sh_path%"/"*}
	cd $sh_dir
	"./"$compile_sh_name $1
	cd $cur_path
done